//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.baidu.a.a.a.a.b;

import com.baidu.a.a.a.a.b.c.a;
import java.util.Comparator;

class d implements Comparator {
     c a;
    d(c var1) {
        this.a = var1;
    }

    public int a(a var1, a var2) {
        int var3;
        if((var3 = var2.b - var1.b) == 0) {
            if(var1.d && var2.d) {
                return 0;
            }

            if(var1.d) {
                return -1;
            }

            if(var2.d) {
                return 1;
            }
        }

        return var3;
    }

    public int compare(Object arg2, Object arg3) {
        return this.a(((a)arg2), ((a)arg3));
    }
}
